package org.example.design.装饰.a;

/**
 * @Auther:Liu
 * @Testname:Dance
 * @Date:2025/8/15 12:21
 */
public class Dance extends Decorator {
    public Dance(Person person) {
        super(person);
    }

    @Override
    public void action() {
        getPerson().action();
        System.out.println("还可以跳舞");
    }


}
